package org.oos.service;

import com.aliyun.oss.model.OSSObjectSummary;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.OutputStream;
import java.util.List;

public interface OOSService {

    void upload(MultipartFile uploadFile) throws IOException;

    void delete(String objectName);

    void download(OutputStream os, String objectName) throws IOException;

    List<OSSObjectSummary> list();

}
